package insight.sm.pojo;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;
@Table(name="assignments_")
public class Assignments {
	@Column(name="assignmentId_", insertable=false)
	private int assignmentId;
	@Column(name="externalId_")
	private String externalId;
	private int userId;
	@Column(name="taskId_")
	private int taskId;
	private int projectId;
	@Column(name="plannedStartDate_")
	private Date plannedStartDate;
	private Date plannedFinishDate;
	private Date actualStartDate;
	private Date actualFinishDate;
	private double plannedUnits;
	private double actualUnits;
	private int labEquipmentId;
	@Column(name="isLabour_")
	private boolean labour;
	private String assignmentStatus;
	
	public boolean isLabour() {
		return labour;
	}
	public void setLabour(boolean labour) {
		this.labour = labour;
	}
	
	public int getAssignmentId() {
		return assignmentId;
	}
	public void setAssignmentId(int assignmentId) {
		this.assignmentId = assignmentId;
	}
	public String getExternalId() {
		return externalId;
	}
	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getTaskId() {
		return taskId;
	}
	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}
	public int getProjectId() {
		return projectId;
	}
	public void setProjectId(int projectId) {
		this.projectId = projectId;
	}
	public Date getPlannedStartDate() {
		return plannedStartDate;
	}
	public void setPlannedStartDate(Date plannedStartDate) {
		this.plannedStartDate = plannedStartDate;
	}
	public Date getPlannedFinishDate() {
		return plannedFinishDate;
	}
	public void setPlannedFinishDate(Date plannedFinishDate) {
		this.plannedFinishDate = plannedFinishDate;
	}
	public Date getActualStartDate() {
		return actualStartDate;
	}
	public void setActualStartDate(Date actualStartDate) {
		this.actualStartDate = actualStartDate;
	}
	public Date getActualFinishDate() {
		return actualFinishDate;
	}
	public void setActualFinishDate(Date actualFinishDate) {
		this.actualFinishDate = actualFinishDate;
	}
	public double getPlannedUnits() {
		return plannedUnits;
	}
	public void setPlannedUnits(double plannedUnits) {
		this.plannedUnits = plannedUnits;
	}
	public double getActualUnits() {
		return actualUnits;
	}
	public void setActualUnits(double actualUnits) {
		this.actualUnits = actualUnits;
	}
	public int getLabEquipmentId() {
		return labEquipmentId;
	}
	public void setLabEquipmentId(int labEquipmentId) {
		this.labEquipmentId = labEquipmentId;
	}
	public String getAssignmentStatus() {
		return assignmentStatus;
	}
	public void setAssignmentStatus(String assignmentStatus) {
		this.assignmentStatus = assignmentStatus;
	}
	
}
